package com.finance.system.controller;

import com.finance.rule.computer.ParserFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Author: gly
 * @Date: Created in 2017-05-23
 */
@Controller
@RequestMapping("parser")
public class ParserController {
    @RequestMapping("getParsers")
    public List<String> getParsers(){
        return ParserFactory.getIntance().getFullNameList();
        }
}
